package indi.jp.project.business.device.entity;

import indi.jp.project.core.entity.BaseEntity;
import indi.jp.project.process.entity.FlowTask;

import java.util.List;

/**
 * 设备报废实体类
 */
public class DeviceDiscard extends BaseEntity {

    private String id;

    private String projectId;

    private String projectCode;

    private String projectName;

    private String devices;

    private String reason;

    private String pics;

    private String remark;

    /**
     * 流程类型编码
     */
    private String flowTypeCode;

    /**
     * 流程状态，以0为起点
     */
    private Integer state;

    /**
     * 状态名称
     */
    private String stateName;

    /**
     * 处理人
     */
    private String handler;

    /**
     * 处理人名称
     */
    private String handlerName;
    /**
     * 是否允许撤回
     */
    private Integer allowRevoke;
    /**
     * 被驳回时状态
     */
    private Integer rejectedState;

    /**
     * 流程列表
     */
    private List<FlowTask> flowList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getDevices() {
        return devices;
    }

    public void setDevices(String devices) {
        this.devices = devices;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFlowTypeCode() {
        return flowTypeCode;
    }

    public void setFlowTypeCode(String flowTypeCode) {
        this.flowTypeCode = flowTypeCode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public List<FlowTask> getFlowList() {
        return flowList;
    }

    public void setFlowList(List<FlowTask> flowList) {
        this.flowList = flowList;
    }

    public Integer getAllowRevoke() {
        return allowRevoke;
    }

    public void setAllowRevoke(Integer allowRevoke) {
        this.allowRevoke = allowRevoke;
    }

    public Integer getRejectedState() {
        return rejectedState;
    }

    public void setRejectedState(Integer rejectedState) {
        this.rejectedState = rejectedState;
    }
}
